package com.xmut.mall.order.vo;

import com.xmut.mall.order.entity.AfterSaleEntity;
import lombok.Data;

/**
 * 售后VO
 */
@Data
public class AfterSaleVO extends AfterSaleEntity {
    /**
     * 初始化自身状态
     */
    public AfterSaleAllowOperation getAfterSaleAllowOperationVO() {

        //设置订单的可操作状态
        return new AfterSaleAllowOperation(this);
    }
}
